package com.manage.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;

/**
 * 数据统计实体类
 */
@Data
public class FlowerStatistics implements Serializable {

    public FlowerStatistics(String userId, BigDecimal merchantTotal, BigDecimal merchantPrice, Integer goodsCount, Integer orderCount) {
        this.userId = userId;
        this.merchantTotal = merchantTotal;
        this.merchantPrice = merchantPrice;
        this.goodsCount = goodsCount;
        this.orderCount = orderCount;
    }

    /**
     * 无参构造器
     */
    public FlowerStatistics() {
    }

    /**
     * id
     */
    @TableId(value = "user_id")
    private String userId;

    /**
     * 总销售额
     */
    private BigDecimal merchantTotal;

    /**
     * 库存金额
     */
    private BigDecimal merchantPrice;

    /**
     * 商品数量
     */
    private Integer goodsCount;

    /**
     * 订单总数
     */
    private Integer orderCount;


}
